package xml.service;

import xml.mapper.XmlMockMapper;

import java.util.List;

public class XmlMockService {

    private XmlMockMapper mockMapper;

    public XmlMockMapper getMockMapper() {
        return mockMapper;
    }

    public void setMockMapper(XmlMockMapper mockMapper) {
        this.mockMapper = mockMapper;
    }

    public String listIds() {
        List<Integer> ids = mockMapper.selectAll();
        return ids.toString();
    }

}
